package edu.guet.server.mapper;

import edu.guet.server.model.SemesterStatistic.ChapterScores;
import edu.guet.server.model.Test;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TestMapper {

    Test getTest(Test data);


    List<ChapterScores.TestScore> findTestScore(Integer unitId);

    Double getAverageTestPerUser(Integer stuId, List<Integer> unitIds);
}
